package com.chat.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
*功能：
 作者：chenhao
*日期： 2025/6/7 下午4:51
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("chat_blacklist")
public class ChatBlack {
    @TableId(type = IdType.ASSIGN_ID)
    private String blackId;
    private String userId;
    private String blackedUserId;
    private String createTime;

    @TableLogic
    private Boolean isDeleted;
}
